<?php
require '../include/library.inc.php';
require '../include/admin_login.inc.php';
	
$order_id = intval($_GET['order_id']);

	if ($order_id) {
		
		$sql = "UPDATE
					orders
				SET
					del  = '1'
			  	WHERE
					order_id = '$order_id'
				";
		query($sql);
		
		
		
	}
	redirect($_SERVER['HTTP_REFERER'].'#order'.($order_id+1));
?>